﻿using System.Collections.Generic;

namespace SW.Lite.Infrastructure.Common
{
    /// <summary>
    ///     Class ModelList.
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageList<T> : List<T>
    {
        public PageList()
        {
        }

        public PageList(IEnumerable<T> collection)
            : base(collection)
        {
        }

        /// <summary>
        ///     Gets or sets all count.
        /// </summary>
        /// <value>All count.</value>
        public int AllCount { get; set; }
    }
}